﻿<%@ Page Language="C#" AutoEventWireup="true" Title="CuponRecibo" MasterPageFile="~/MasterPage.master" CodeFile="CuponRecibo.aspx.cs" Inherits="Admin_CuponRecibo"%>

<%@ Register Src="../UserControls/Fecha.ascx" TagName="Fecha" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Content ID="content" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> &nbsp;
<asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
    &nbsp;
    <table width="100%">
        <tr>
            <td class="tdVentas" colspan="4" style="width: 100%">
                Cupon Recibo</td>
        </tr>
        <tr>
            <td class="tdForm" colspan="4" style="width: 100%; text-align: center">
                <asp:Label ID="lblAccion" runat="server" CssClass="lblAccion" Text="lblAccion"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 15%; text-align: right">
                Cliente:</td>
            <td class="tdForm" colspan="1" style="width: 20%; height: 14px; text-align: left">
                <asp:TextBox ID="txtIdCliente" runat="server" AutoPostBack="True" OnTextChanged="txtIdCliente_TextChanged"
                    Width="70px"></asp:TextBox>&nbsp;
                <asp:Button ID="btnBuscarCliente" runat="server" OnClick="btnBuscarCliente_Click"
                    Text="..." /></td>
            <td class="tdForm" colspan="2" style="width: 65%; text-align: left">
                <asp:TextBox ID="txtCliente" runat="server" Width="90%"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Saldo Cta. Cte. :</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtSaldo" runat="server" CssClass="numero" ReadOnly="True" Width="100px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                &nbsp;Recibo Nro.:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtIdCuponRecibo" runat="server" OnTextChanged="txtIdCliente_TextChanged"
                    Width="70px" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Grupo:
            </td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtGrupo" runat="server" Columns="30" MaxLength="30"
                    OnTextChanged="txtIdCliente_TextChanged" Width="170px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Observaciones:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtObs" runat="server" Columns="50" MaxLength="50"
                    OnTextChanged="txtIdCliente_TextChanged" Width="250px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Contrato:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtContrato" runat="server" Columns="50" MaxLength="50"
                    OnTextChanged="txtIdCliente_TextChanged" Width="250px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Total Plan:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtTotal" runat="server" CssClass="numero" MaxLength="10" Width="100px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Cuotas:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtCuotas" runat="server" CssClass="numero" MaxLength="2" Width="50px" Columns="2"></asp:TextBox>
                <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="txtCuotas" ErrorMessage="(*)"
                    MaximumValue="40" MinimumValue="1" Type="Double"></asp:RangeValidator></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="2" style="text-align: right">
                Cuota Vigente:</td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtCuota" runat="server" CssClass="numero" MaxLength="2" Width="50px" Columns="2"></asp:TextBox>
                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtCuota" ErrorMessage="(*)"
                    MaximumValue="99" MinimumValue="1" Type="Double"></asp:RangeValidator></td>
        </tr>
        <tr id="Tr1" runat="server">
            <td class="tdForm" colspan="2" style="text-align: right; height: 40px;">
                Fecha Vto. 1:</td>
            <td class="tdForm" colspan="2" style="text-align: left; height: 40px;">
                <uc1:Fecha ID="Fecha1" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="left" class="tdForm" colspan="2" style="text-align: right">
                <asp:Label ID="lblMonto" runat="server" Text="Monto 1 $:"></asp:Label></td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtMonto1" runat="server" CssClass="numero" MaxLength="10" Width="100px"></asp:TextBox>
                <asp:RangeValidator ID="rvMonto" runat="server" ControlToValidate="txtMonto1" ErrorMessage="(*)"
                    MaximumValue="9999999.99" MinimumValue="0.00" Type="Double"></asp:RangeValidator></td>
        </tr>
        <tr id="Tr2F" runat="server">
            <td class="tdForm" colspan="2" style="text-align: right; height: 40px;">
                Fecha Vto. 2:</td>
            <td class="tdForm" colspan="2" style="text-align: left; height: 40px;">
                <uc1:Fecha ID="Fecha2" runat="server" />
            </td>
        </tr>
        <tr id="Tr2M" runat="server">
            <td align="left" class="tdForm" colspan="2" style="text-align: right">
                <asp:Label ID="Label1" runat="server" Text="Monto 2 $:"></asp:Label></td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtMonto2" runat="server" CssClass="numero" MaxLength="10" Width="100px"></asp:TextBox>
               </td>
        </tr>
        <tr id="Tr3F" runat="server">
            <td class="tdForm" colspan="2" style="text-align: right; height: 40px;">
                Fecha Vto. 3:</td>
            <td class="tdForm" colspan="2" style="text-align: left; height: 40px;">
                <uc1:Fecha ID="Fecha3" runat="server" />
            </td>
        </tr>
        <tr id="Tr3M" runat="server">
            <td align="left" class="tdForm" colspan="2" style="text-align: right">
                <asp:Label ID="Label2" runat="server" Text="Monto 3 $:"></asp:Label></td>
            <td class="tdForm" colspan="2" style="text-align: left">
                <asp:TextBox ID="txtMonto3" runat="server" CssClass="numero" MaxLength="10" Width="100px"></asp:TextBox>
                </td>
        </tr>
       
    </table>
    <table class="tdForm" style="width: 100%">
        <tr>
            <td style="width: 100%" class="tdBotones"><asp:Button ID="btnOtro" runat="server" OnClick="btnOtro_Click" Text="Cargar Otro" />
                &nbsp;
                <asp:Button ID="btnGuardar" runat="server" OnClick="btnGuardar_Click" Text="Guardar" />
                &nbsp; &nbsp;
                <asp:Button ID="btnCalcular" runat="server" OnClick="btnCalcular_Click" Text="Calcular" />
                &nbsp; &nbsp;<asp:Button ID="btnImprimir" runat="server" OnClick="btnImprimir_Click" Text="Imprimir" />
                &nbsp;&nbsp;<asp:Button ID="btnCancelar" runat="server" OnClick="btnCancelar_Click" Text="Cancelar" />
                &nbsp;&nbsp;
            </td>
        </tr>
    </table>
   <asp:Panel ID="pnlMensaje" runat="server" CssClass="tdBotones" Style="display: none"
        Width="233px">
        <div style="background-image: none; background-color: transparent; text-align: center">
            <asp:Label ID="lblMensaje" runat="server" Text="Error"></asp:Label>
            <br />
            <br />
            <asp:Button ID="btnMensaje" runat="server" Text="OK" Width="64px" />
        </div>
    </asp:Panel>
    <table id="tblMensaje" runat="server" border="0" style="width: 0px; height: 0px">
        <tr>
            <td style="width: 100px; height: 18px">
                <asp:Button ID="btnMalMensaje" runat="server" Height="0px" Text="Button" Width="0px" />
            </td>
        </tr>
    </table>
    <cc1:ModalPopupExtender ID="mpeMensaje" runat="server" BackgroundCssClass="modalBackground"
        DropShadow="true" OkControlID="btnMensaje" PopupControlID="pnlMensaje" TargetControlID="btnMalMensaje">
    </cc1:ModalPopupExtender>
    
</asp:Content>

